@import '~antd/es/style/themes/default.less';

.title {
  margin-bottom: 16px;
  color: @heading-color;
  font-weight: 500;
  font-size: 16px;
}

.w100p {
  width: 100%;
}

.h100p {
  height: 100%;
}

.wh100p {
  width: 100%;
  height: 100%;
}

.verticalResize {
  resize: vertical;
}

.drawerBodyPadding {
  :global {
    .ant-drawer-body {
      padding: 0;
    }
  }
}

.drawerBodyTabsPadding {
  padding: 0 0 0 24px;
}


.cardBodyDesc {
  :global {
    .ant-card-body {
      padding: 0;
    }
  }
}

.historyLogTable {
  :global {
    .ant-pro-table-search {
      padding: 0 10px 0 0;
      margin-bottom:0;

      .ant-form-item{
        margin-bottom: 0;
      }
    }

    .ant-table.ant-table-middle .ant-table-thead > tr > th,
    .ant-table.ant-table-middle .ant-table-tbody > tr > td {
      padding: 8px 8px;
    }

    .ant-table.ant-table-middle .ant-table-thead .ant-table-column-sorters {
      padding: 0 8px;
    }

    .ant-table.ant-table-middle .ant-table-content tr:first-child > th:first-child {
      padding-left: 0;
    }
  }
}

.dividerMarginBottom {
  margin-bottom: 32px;
}

.detailsDescriptions {
  margin-bottom: 32px;

  :global {
    .ant-descriptions-item-label {
      width: 120px;
    }

    .ant-descriptions-item-content {
      word-break: break-all;
    }
  }
}

.tableRowRed {
  :global {
    .ant-table-cell,
    .ant-table-cell a,
    .ant-table-cell i,
    .ant-table-cell .ant-typography {
      color: #d9534f !important;
    }
  }
}
